<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>文章详情</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<meta content="yes" name="apple-mobile-web-app-capable">
		<meta content="yes" name="apple-touch-fullscreen">
		<meta content="black" name="apple-mobile-web-app-status-bar-style">
		<meta content="telephone=no,email=no" name="format-detection">
		<!--[if lt IE 9]> 
		<script src=http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> 
		<![endif]-->
		<script type="text/javascript" src="../js/init.js"></script>
		<!--<link rel="stylesheet" type="text/css" href="css/home.css" />-->
		<link rel="stylesheet" type="text/css" href="../css/common.css" />
		<link rel="icon" href="../images/favicon.ico" />
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
				box-sizing: border-box;
			}
			
			a {
				text-decoration: none;
				color: #fff;
			}
			
			/*header {
				width: 7.5rem;
				background-color: #fff;
				position: relative;
				background: url(../images/1.png);
				background-repeat: no-repeat;
				background-size: 7.5rem 4.5rem;
				height: 4.5rem;
				padding: 0.4rem;
			}
			*/
			/*header span {
				position: absolute;
				top: 0.46rem;
			}
			
			header .title {
				text-align: center;
				margin: 0 auto;
				font-size: 0.36rem;
				color: #fff;
				max-width: 3.2rem;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
			
			header .more {
				right: 0.5rem;
			}
			
			header .back {
				left: 0.5rem;
			}
			
			header img {
				width: 7.5rem;
				height: 100%;
			}*/
			
			.word {
				color: #333;
				font-weight: 700;
				/*line-height: 0.32rem;*/
				/*height: 0.32rem;*/
				font-size: 0.48rem;
				/*border-bottom: 0.04rem solid #ddd;*/
			}
			
			section.one {
				padding-top: 0.2rem;
				/*height: 1.42rem;*/
				font-size: 0.3rem;
				margin: 0 0.10rem;
				padding-left: 0.20rem;
				
			}
			
			section .bottomTime .one {
				padding-right: 50%;
			}
			
			section .bottomTime {
				line-height: 0.8rem;
				height: 0.8rem;
			}
			
			section.two {
				color: #333;
				font-size: 0.3rem;
				/*height: 3.6rem;*/
			}
			section.two div {
				margin:0.2rem 0.1rem;
			}
			p {
				font-size: 0.3rem;
				display: block;
				text-indent: 0.5em;
				/*-webkit-margin-before: 1em;*/
				/*-webkit-margin-after: 1em;*/
				-webkit-margin-start: 0.20rem;
				-webkit-margin-end: 0.20rem;
			}
			
			section span {
				color: #333;
				/*float: left;*/
				padding-left: 0.10rem;
			}
			
			.read {
				padding-left: 0.10rem;
			}
			
			.readCount {
				left: 0.44rem;
			}
			
			.two .iconfont {
				position: static;
				color: #666;
			}
			
			.zanCount {
				padding-left: 0px;
			}
			
			.tousu {
				float: right;
				padding-right: 0.2rem;
			}
			
			footer {
				padding-top: 0.25rem;
				background-color: #f6f6f6;
				font-size: 0.3rem;
			}
			
			footer .fabu {
				height: 2.4rem;
			}
			
			textarea {
				width: 100%;
				height: 0.70rem;
				resize: none;
			}
		
			
			.white {
				position: absolute;
				border-top: 0.01rem solid #999;
			}
			
	
			.text {
				position: relative;
			}
			
			.text textarea {
				margin-top: 0.35rem;
				padding-bottom: 20px;
			}
			
			.text span {
				position: absolute;
				bottom: 0.2rem;
				left: 0.1rem;
			}
			
			.fabu button {
				border: none;
				background-color: #a32d5a;
				border-radius: 5px;
				width: 90%;
				margin: 0.2rem 5%;
				height: 0.58rem;
				color: #fff;
			}
			
			.conmentT {
				padding-top: 20px;
				
			}
			
			.conmentT img {
				margin-left: 0.2rem;
				width: 10%;
				width: 0.9rem;
				height: 0.9rem;
				top: 0.1rem;
				position: absolute;
			}
			
			.conmentT li {
				position: relative;
				margin-bottom: 0.2rem;
				padding-bottom: 0.2rem;
				
			}
			
			.conmentT .conment {
				display: inline-block;
				width: 86%;
				font-size: 0.3rem;
				padding-left: 17%;
				
				
			}
			
			.conmentT .conment span {
				display: block;
			}
			
			.conmentT .conment .conmentName {
				color: #333;
			}
			
			.conmentT .conment .conmentContain {
				color: #999;
				margin: 0.1rem 0;
			}
			
			.conmentT .conment .delete {
				position: absolute;
				bottom: 0.2rem;
				left: 3.4rem;
				color: #203eab;
			}
			
			.conmentT .conment .conmentTime {
				color: #cecece;
			}
			
			.conmentT .conment .iconfont {
				color: #666;
				position: absolute;
				bottom: 0.2rem;
				right: 0.44rem;
			}
			.liu {
				padding: 0.2rem 0;
				position: relative;
				height: 0.5rem;
				background-color: #f6f6f6;
			}
			.liu .line {
				position: absolute;
				height: 0.01rem;
				background-color: #dadada;
				width: 35%;
				top: 0.42rem;
			}
			.liu .line.left {
				left: 0rem;
			}
			.liu .line.right {
				right: 0rem;
			}
			.liu .liuyan {
				height: 0.5rem;
				display: block;
				text-align: center;
				font-size: 0.36rem;
				color: #999;
			}
		</style>
	</head>

	<body style="overflow-x: hidden;">
		<!--<header id="bg">
			<span class="iconfont back"><a href="articals.html">&#xe601;</a></span>
			<div class="title">文章标题文章标题蚊</div>
			<span class="iconfont more">&#xe600;</span>
		</header>-->
		<section class="one">
			<div class="word">坚持做这十件事，五年后你会感谢自己</div>
			<div class="bottomTime">
				
				<span class="time">2017-05-23</span>
				<span class="one">1234a</span>
			</div>
		</section>
		<section class="two">
			<p>“婚礼青年”是一个可以快速便捷下单和获取婚礼信息的一个公众号，里面有三个板块，顺序依次是：婚礼下单、婚礼青年、婚礼集市。</p>
			<p>“婚礼青年”是一个可以快速便捷下单和获取婚礼信息的一个公众号，里面有三个板块，顺序依次是：婚礼下单、婚礼青年、婚礼集市。</p>
			<div>
				<span class="read">阅读</span><span class="readCount">2282</span><span class="iconfont">&#xe61a;</span><span class="zanCount">8</span><span class="tousu">投诉</span>
			</div>
		</section>
		
		<section class="liu"> 
			<span class="line left"></span>
			<span class="liuyan">精选留言</span>
			<span class="line right"></span>
		</section>
		
		<footer>
			<ul class="conmentT" id="fath">
				<li>
					<img src="../images/8.png" alt="" />
					<div class="conment">
						<span class="conmentName">婚礼青年</span>
						<span class="conmentContain">婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年</span>
						<span class="conmentTime">2分钟前</span>
						<span class="delete" id="0" onclick="del()">删除</span>
						<span class="iconfont">&#xe61a;</span>
					</div>
				</li>
				<li>
					<img src="../images/8.png" alt="" />
					<div class="conment">
						<span class="conmentName">婚礼青年</span>
						<span class="conmentContain">婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年婚礼青年</span>
						<span class="conmentTime">2分钟前</span>
						<span class="delete" id="1" onclick="del()">删除</span>
						<span class="iconfont">&#xe61a;</span>
					</div>
				</li>
			</ul>
		</footer>
	</body>
	<script type="text/javascript">
		document.getElementById("bg").style.backgroundImage = "url(../images/2.png)";

		function liuyan() {
			var val = document.getElementById("txt").value;
			var ele = document.getElementById("fath");
			var Lis = document.createElement("li");
			console.log(Lis);
			console.log(ele);
			id = ele.childNodes.length - 2
			Lis.innerHTML = '<img src="../images/8.png" alt="" />' +
				'<div class="conment">' +
				'<span class="conmentName">婚礼青年</span>' +
				'<span class="conmentContain">' + val + '</span>' +
				'<span class="conmentTime">2分钟前</span>' +
				'<span class="delete" id="' + id + '" onclick="del()">删除</span>' +
				'<span class="iconfont">&#xe61a;</span>' +
				'</div>'
			val = val.replace(/""/g,"");
			console.log(val.length)
			if(!val.length == 0) {
				ele.appendChild(Lis);
			} else {
				return
			}

		}

		function del() {
			var id = this.id;
			console.log(id)
			//			var ele = document.getElementById(id).parentNode.parentNode;
			//			console.log(ele);
			//			ele.parentNode.removeChild(ele);
		}
	</script>

</html>